import axios from  "./axios";

export  let  userModel =  {
    query:(params:any)=>{
        return  axios({
            method:"get",
            url:"/userinfo",
            params
        })
    },
    add:(data:any)=>{
        return  axios({
            method:"post",
            url:"/userinfo",
            data
        })
    },
    del:(id:any)=>{
        return  axios({
            method:"delete",
            url:"/userinfo/"+id,
        })
    }
}

  